package com.tanhua.dubbo.api;

import com.tanhua.dubbo.mappers.PersonalityTypeMapper;
import com.tanhua.model.domain.PersonalityType;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class PersonalityTypeApiImpl implements PersonalityTypeApi {

    @Autowired
    private PersonalityTypeMapper personalityTypeMapper;

    @Override
    public PersonalityType findById(Long dimensionId) {
        return personalityTypeMapper.selectById(dimensionId);
    }
}
